import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';

export default async function a001(fd: IFeidaoAiBrowserComponent, args: { node1: HTMLDivElement }) {
	// 显示新增
	fd.data.node.querySelector<HTMLInputElement>('[id="rule_name"]').value = '';
	fd.data.node.querySelector<HTMLInputElement>('[id="before_check"]').checked = false;
	fd.data.node.querySelector<HTMLInputElement>('[id="before_time"]').value = '';
	fd.data.node.querySelector<HTMLInputElement>('[id="after_checkbox"]').checked = false;
	fd.data.node.querySelector<HTMLInputElement>('[id="after_time"]').value = '';
	fd.data.node.querySelector<HTMLInputElement>('[id="over_checkbox"]').checked = false;
	fd.data.node.querySelector<HTMLInputElement>('[id="over_time"]').value = '';
	fd.data.node.classList.remove('display-n');
}
